The recording of information derived from examination and analysis of mud circulated out of the hole and drill-bit cuttings.  A portion of the mud is diverted through a gas-detecting device and the cuttings are examined further under ultraviolet light for the purpose of detecting the presence of oil or gas.  Mud logging is often carried out in a portable laboratory set up at the well.